package one_class_design.three_work;

/**
 * @author 北巷_东坡
 * @date 2022/9/16 20:07
 * @computer 10741
 */
public class Television implements ComputerWeight{
    int tweight;
    double t_num;
    Television(int tweight,double t_num){
        this.tweight = tweight;
        this.t_num = t_num;
    }
    @Override
    public double computeWeight() {
        return tweight * t_num;
    }
}
